package cn.south.campus.business.service;

import cn.south.campus.business.model.entity.ExpressTake;
import cn.south.campus.business.model.entity.ExpressTakeOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *
 * </p>
 *
 * @author chow
 * @since 2025/2/26 13:59
 */
public interface ExpressTakeOrderService extends IService<ExpressTakeOrder> {

    /**
     * 创建订单
     *
     * @param expressTake 快递代取
     * @return 订单号
     */
    String createOrder(ExpressTake expressTake);

    /**
     * 根据订单号查询订单
     *
     * @param orderNo 订单号
     * @return 订单
     */
    ExpressTakeOrder selectOrderNo(String orderNo);

    /**
     * 根据订单id删除订单
     *
     * @param id 订单id
     */
    String delByTakeId(Long id);
}
